class CreateWeatherAlerts < ActiveRecord::Migration
  def self.up
    add_column :infos, :url, :string
    add_column :infos, :atype, :string
    add_column :infos, :alevel, :string
    add_column :infos, :astatus, :string 
    add_column :infos, :image_path, :string
    add_column :infos,:published_at, :datetime
  end

  def self.down
    remove_columns :infos, :url,
      :atype,
      :alevel,
      :astatus,
      :image_path,
      :published_at
  end
end
